public class DangerException extends Exception{
    String name;
    public DangerException(String name){
        this.name = name;
    }
    public String toString(){
        return name + "危险！";
    }
}


